import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  server: {
    port: 5173,
    host: true,
    open: true,
    proxy: {
      "/chat": {
        target: 'https://wishub-x1.ctyun.cn/v1',
        changeOrigin: true,
      },
    },
  },
})
